#pragma once
#ifndef SMPPDELIVERSMRESPRESP_HPP
#define SMPPDELIVERSMRESPRESP_HPP

#include "SMPPHeader.hpp"
#include "SMPPMessageDeliveryResponseTLVs.hpp"

namespace smpp {
namespace pdu{
	class SMPP_DLLPRFX DeliverSMResp : public Header,
		public MessageDeliveryResponseTLVs{
		CoctetString _MessageId;
	public:
		DeliverSMResp(const Header &nHeader = Header(),
			const CoctetString &nMessageId = "",
			const MessageDeliveryResponseTLVs &
			nMessageDeliveryResponseTLVs = MessageDeliveryResponseTLVs());

		DeliverSMResp(const DeliverSMResp &);

		void setMessageId(const CoctetString &);

		const CoctetString &getMessageId() const;

		void calcCommandLength();	
	};
}
}

#endif
